package cms.api;

import cms.model.DepositHistory;
import org.springframework.data.domain.Page;
import org.springframework.data.domain.Pageable;

/**
 * Created by xhz on 2017/2/8.
 * 充值记录api
 */
public interface DepositHistoryApi {

    /**
     * 根据机构代码查询
     * @param orgId
     * @param pageable
     * @return
     */
    Page<DepositHistory> listDepositHistoryByOrganizationId(String orgId, Pageable pageable);

    void saveDepositHistory(DepositHistory depositHistory);
}
